package com.xhsj.user.sms.purchase.query;

import com.xhsj.user.sms.purchase.entity.TbPurchaseTerminationContractApplyFile;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: liuqinghua
 * @Description:
 * @Data:2020/6/4
 */
@Data
public class CloseOrderQuery {

    //订单id
    private String purchaseOrderId;
    //业务id
    @NotBlank(message = "dataId业务id不能为空")
    private String dataId;
    //状态
    @NotNull(message = "status不能为空")
    private Integer status;
    // 节点id
    @NotBlank(message = "nodeId采购申请节点id不能为空")
    private String nodeId;
    // 流程申请用户id
    @NotBlank(message = "proposerId流程申请用户id不能为空")
    private String proposerId;
    // 登录用户id
    @NotBlank(message = "createBy登录用户id不能为空")
    private String createBy;
    // 提交状态 1 保存 2 提交
    @NotNull(message = "submitStatus提交状态不能为空")
    private Integer submitStatus;

    private String processType;

    private List<TbPurchaseTerminationContractApplyFile> tbPurchaseTerminationContractRecordFileList;//终止合同申请表相关文件

    private String contractId; //合同申请id

    private String processTaskId; //合同申请id
}
